package com.zdkj.subway.stm.dto.in;/**
 * @author 陈博
 * @date 2020/8/13 0013 9:58
 */

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @program: zdkj
 *
 * @description:
 *
 * @author: chen
 *
 * @create: 2020-08-13 09:58
 **/
@Data
public class SwMessageDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 消息类型(下发/申诉/通知等按钮)
     */
    @ApiModelProperty(value = "消息类型(下发/申诉/通知等按钮)")
    private String msgType;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;
    /**
     * 跳转地址
     */
    @ApiModelProperty(value = "跳转地址")
    private String url;

    @ApiModelProperty(value = "线路")
    private String lineCode;

    @ApiModelProperty(value = "车站")
    private String stationCode;

    @ApiModelProperty(value = "角色id")
    private String roleCode;

    /**
     * 发送车站ID
     */
    @ApiModelProperty(value = "发送车站ID")
    private String sendDeptCode;

    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    private Integer creatorId;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String creatorName;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 部门ID
     */
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    /**
     * 是否删除  1：已删除  0：正常
     */
    private String delFlag;
}
